package work.mediway.bi.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
  *@version
  *@description      
  *@author          bovane <bovane.ch@gmail.com>
  *@create          2023-07-10 10:10
  */

/**
 * 数据集配置
 */
@ApiModel(description = "数据集配置")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_dataset_config")
public class DatasetConfig {
    /**
     * 数据集ID
     */
    @TableId(value = "api_id", type = IdType.INPUT)
    @ApiModelProperty(value = "数据集ID", required = true)
    private String apiId;

    /**
     * 数据集名称
     */
    @TableField(value = "api_name")
    @ApiModelProperty(value = "数据集名称")
    private String apiName;

    /**
     * 数据集描述
     */
    @TableField(value = "api_desc")
    @ApiModelProperty(value = "数据集描述")
    private String apiDesc;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 数据集配置
     */
    @TableField(value = "api_cfg")
    @ApiModelProperty(value = "数据集配置")
    private String apiCfg;

    /**
     * 是否启用
     */
    @TableField(value = "is_actived")
    @ApiModelProperty(value = "是否启用")
    private Boolean actived;
}